A service to manage recognition entities like Topic, Badge and Level
Properties
Name | Returns | Notes | Example |
---|---|---|---|
allTopics | List | Gets a list of all the recognition topics for the current admin organisation |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
getHighestLevelAward ( topic ) | RecognitionAward | ||
getLevelStatus ( topicName ) | LevelStatus | Return the current level, next level, and percentage value | |
getHighestLevelAward ( topicName, participant ) | RecognitionAward | ||
getTopic ( topicName ) | RecognitionTopic | Get a topic by its name | |
getTopic ( topicId ) | RecognitionTopic | Get a topic by its id | |
createTopic ( topicName, topicTitle ) | RecognitionTopic | Creates a new topic | |
deleteTopic ( topicName ) | void | Deletes a topic by its name | |
deleteTopic ( topicId ) | void | Deletes a topic by its id | |
createBadge ( topicName, badgeName, badgeTitle ) | RecognitionBadge | ||
createBadge ( topicId, badgeName, badgeTitle ) | RecognitionBadge | ||
createBadge ( topic, badgeName, badgeTitle ) | RecognitionBadge | ||
deleteBadge ( topic, badgeName ) | void | ||
deleteBadge ( topic, badgeId ) | void | ||
deleteBadge ( topic, badge ) | void | ||
createLevel ( topicName, levelName, levelTitle, levelAmount ) | RecognitionLevel | ||
createLevel ( topicId, levelName, levelTitle, levelAmount ) | RecognitionLevel | ||
createLevel ( topic, levelName, levelTitle, levelAmount ) | RecognitionLevel | ||
deleteLevel ( topic, levelName ) | void | ||
deleteLevel ( topic, levelId ) | void | ||
deleteLevel ( topic, level ) | void | ||
createAward ( recognition, awardedTo, createdDate ) | RecognitionAward |
Hide comments
